package com.ssy.lingxi.pay.config.init;

import com.ssy.lingxi.pay.service.init.IAllInPayInitService;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.DependsOn;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

/**
 * 通联支付-数据初始化
 * @author lqa
 * @version 2.0.0
 * @date 2022/1/7
 */
@Configuration
@DependsOn("languageHolder")
public class AllInPayInitConfig {

    @Resource
    private IAllInPayInitService allInPayInitService;

    @PostConstruct
    public void initSystem() {
        //初始化数据
        allInPayInitService.initData();
    }

}
